<%@ Control Inherits="CVCommunity.Admin.AdministratorPermission" %>
<%@ Register tagPrefix="forum" namespace="CVCommunity.Provider" assembly="CVCommunity.Provider"%>
<script language="javascript">
function chkAllBox()
{
	var f = document.forms[0];
	for (var i=0; i<f.elements.length; i++)
	{
		if (f.elements[i].type.toLowerCase() == "checkbox")
		{
			f.elements[i].checked = true;
		}
	}
}
function unchkAllBox()
{
	var f = document.forms[0];
	for (var i=0; i<f.elements.length; i++)
	{
		if (f.elements[i].type.toLowerCase() == "checkbox")
		{
			f.elements[i].checked = false;
		}
	}
}
function revchkAllBox()
{
	var f = document.forms[0];
	for (var i=0; i<f.elements.length; i++)
	{
		if (f.elements[i].type.toLowerCase() == "checkbox")
		{
			f.elements[i].checked = !f.elements[i].checked;
		}
	}
}
</script>
<form runat="server">
<asp:TextBox id="refurl" runat="server" Visible="false" />
<div class="grid">
<table cellspacing="0" class="inner" style="font-size:12px">
<tr class="forumtd category" style="font-size:14px">
<td width="711">后台管理权限</td>
</tr>
<tr class="forumtd">
<td height="102" class="smallbox">
<p>
<input type="button" value="选择全部" onclick="chkAllBox()" />&nbsp;&nbsp;
<input type="button" value="取消全部" onclick="unchkAllBox()" />&nbsp;&nbsp;
<input type="button" value="反选" onclick="revchkAllBox()" />
</p>
<p>&nbsp;
</p>
<p>
<asp:CheckBox ID="AllowBasisSetting" runat="server" />
  允许设置基本信息
  </p>
    <p>
    <asp:CheckBox ID="AllowAccessSetting" runat="server" />
          允许设置访问设置</p>
  <p>
    <asp:CheckBox ID="AllowStyleSetting" runat="server" />
          允许设置显示方式</p>
  <p>
    <asp:CheckBox ID="AllowTimeSetting" runat="server" />
          允许设置时间信息</p>
  <p>
    <asp:CheckBox ID="AllowVerifierSetting" runat="server" />
      允许设置验证码</p>
  <p>
    <asp:CheckBox ID="AllowAttachSetting" runat="server" />
    允许设置附件配置</p>
  <p>
    <asp:CheckBox ID="AllowServiceSetting" runat="server" />  
允许设置服务配置</p>
  <p>&nbsp;</p>
  <p>
    友情链接 
    <asp:CheckBox ID="AllowAddFriendLink" runat="server" />
    添加/<asp:CheckBox ID="AllowEditFriendLink" runat="server" />
    编辑/
    <asp:CheckBox ID="AllowDeleteFriendLink" runat="server" />
    删除</p>
  <p>
    已删主题
    <asp:CheckBox ID="AllowRestoreDeletedTopic" runat="server" />
    还原/
    <asp:CheckBox ID="AllowDeleteDeletedTopic" runat="server" />      
    彻底删除</p>
  <p>已删回复
    <asp:CheckBox ID="AllowRestoreDeletedReply" runat="server" />    
还原/
<asp:CheckBox ID="AllowDeleteDeletedReply" runat="server" />
彻底删除</p>
  <p>&nbsp;</p>
  <p>
    <asp:CheckBox ID="AllowModifyBulletin" runat="server" />
    修改公告</p>
  <p>&nbsp;</p>
  <p>广告管理
    <asp:CheckBox ID="AllowAddAdvertise" runat="server" />    
添加/
<asp:CheckBox ID="AllowEditAdvertise" runat="server" />
编辑/
<asp:CheckBox ID="AllowDeleteAdvertise" runat="server" />
删除</p>
  <p>访问限制IP
    <asp:CheckBox ID="AllowAddBannedIp" runat="server" />    
添加/
<asp:CheckBox ID="AllowEditBannedIp" runat="server" />
编辑/
<asp:CheckBox ID="AllowDeleteBannedIp" runat="server" />
删除</p>
  <p>日志管理
    <asp:CheckBox ID="AllowViewLog" runat="server" /> 
    查看/
    <asp:CheckBox ID="AllowDeleteLog" runat="server" />
删除</p>
  <p>&nbsp;</p>
  <p>
    <asp:CheckBox ID="AllowDeleteMessage" runat="server" />  
删除短消息</p>
  <p>&nbsp;</p>
  <p>版区管理
    <asp:CheckBox ID="AllowAddCategory" runat="server" />    
添加/
<asp:CheckBox ID="AllowEditCategory" runat="server" />
编辑/
<asp:CheckBox ID="AllowDeleteCategory" runat="server" />
删除</p>
  <p>版面管理
    <asp:CheckBox ID="AllowAddBoard" runat="server" />    
添加/
<asp:CheckBox ID="AllowEditBoard" runat="server" />
编辑/
<asp:CheckBox ID="AllowDeleteBoard" runat="server" />
删除/
<asp:CheckBox ID="AllowEditBoardRestrict" runat="server" />
编辑版面访问限制
/
<asp:CheckBox ID="AllowChangeBoardPermitType" runat="server" />
修改版面许可类型  </p>
  <p>专题管理
    <asp:CheckBox ID="AllowAddSubject" runat="server" />    
添加/
<asp:CheckBox ID="AllowEditSubject" runat="server" />
编辑/
<asp:CheckBox ID="AllowDeleteSubject" runat="server" />
删除</p>
  <p>&nbsp;</p>
  <p>许可证管理</p>
  <p>
    <asp:CheckBox ID="AllowAddUserPermit" runat="server" />  
添加用户许可证</p>
  <p>
    <asp:CheckBox ID="AllowAddGroupPermit" runat="server" />
    添加用户组许可证</p>
  <p>
    <asp:CheckBox ID="AllowDeletePermit" runat="server" />  
删除许可证</p>
  <p>
    <asp:CheckBox ID="AllowEditPermitPermission" runat="server" />
    编辑许可权限</p>
  <p>&nbsp;</p>
  <p>
    <asp:CheckBox ID="AllowEditStrategy" runat="server" />  
编辑积分策略</p>
  <p>
    <asp:CheckBox ID="AllowEditCreditSetting" runat="server" />
    编辑扩展积分设置</p>
  <p>&nbsp;</p>
  <p>用户操作</p>
  <p>
    <asp:CheckBox ID="AllowResetPassword" runat="server" />
    用户重置密码</p>
  <p>
<asp:CheckBox ID="AllowSearchUser" runat="server" />    
检索用户</p>
  <p>
    <asp:CheckBox ID="AllowDeleteUser" runat="server" />
    删除用户</p>
  <p>
    <asp:CheckBox ID="AllowRestoreUser" runat="server" />
    还原用户</p>
  <p>
    <asp:CheckBox ID="AllowEditUser" runat="server" />
    编辑用户</p>
  <p>&nbsp;</p>
  <p>管理员管理
    <asp:CheckBox ID="AllowAddAdministrator" runat="server" />    
添加/
<asp:CheckBox ID="AllowEditAdministrator" runat="server" />
编辑/
<asp:CheckBox ID="AllowDeleteAdministrator" runat="server" />
删除/
<asp:CheckBox ID="AllowEditAdministratorPermission" runat="server" />
编辑管理权限</p>
  <p>&nbsp;</p>
  <p>超级版主管理
    <asp:CheckBox ID="AllowAddManager" runat="server" />    
添加/
<asp:CheckBox ID="AllowEditManager" runat="server" />
编辑/
<asp:CheckBox ID="AllowDeleteManager" runat="server" />
删除/
<asp:CheckBox ID="AllowEditManagerPermission" runat="server" />
编辑超级版主权限</p>
  <p>&nbsp;</p>
  <p>版主管理
    <asp:CheckBox ID="AllowAddModerator" runat="server" />    
添加/
<asp:CheckBox ID="AllowEditModerator" runat="server" />
编辑/
<asp:CheckBox ID="AllowDeleteModerator" runat="server" />
删除/
<asp:CheckBox ID="AllowEditModeratorPermission" runat="server" />
编辑版主权限</p>
  <p>&nbsp;</p>
  <p>用户组管理
    <asp:CheckBox ID="AllowAddGroup" runat="server" />    
添加/
<asp:CheckBox ID="AllowEditGroup" runat="server" />
编辑/
<asp:CheckBox ID="AllowDeleteGroup" runat="server" />
删除/
<asp:CheckBox ID="AllowEditGroupPermission" runat="server" />
编辑组权限</p>
  <p>&nbsp;</p>
  <p>勋章管理
    <asp:CheckBox ID="AllowAddMedal" runat="server" />    
添加/
<asp:CheckBox ID="AllowEditMedal" runat="server" />
编辑/
<asp:CheckBox ID="AllowDeleteMedal" runat="server" />
删除/
<asp:CheckBox ID="AllowConferMedal" runat="server" />
授予勋章/
<asp:CheckBox ID="AllowDeletedConferredMedal" runat="server" />
删除已授勋章</p>
  <p>&nbsp;</p>
  <p>
    <asp:CheckBox ID="AllowCombineUser" runat="server" />
          合并用户</p>
  <p>
    <asp:CheckBox ID="AllowRenameUser" runat="server" />
    用户更名</p>
  <p>&nbsp;</p>
  <p>模板管理
    <asp:CheckBox ID="AllowAddTemplate" runat="server" />    
添加/
<asp:CheckBox ID="AllowEditTemplate" runat="server" />
编辑/
<asp:CheckBox ID="AllowDeleteTemplate" runat="server" />
删除/
<asp:CheckBox ID="AllowEditTemplateVar" runat="server" />
编辑模板变量/
<asp:CheckBox ID="AllowEditTemplateFile" runat="server" />
编辑模板文件/
<asp:CheckBox ID="AllowDownloadTemplate" runat="server" />
下载模板/
<asp:CheckBox ID="AllowUploadTemplate" runat="server" />
上传模板</p>
  <p>&nbsp;</p>
  <p>
    <asp:CheckBox ID="AllowEditTaxStrategy" runat="server" />
    编辑税收策略</p>
  <p>&nbsp;</p>
  <p>等级管理
    <asp:CheckBox ID="AllowAddLevel" runat="server" />    
添加/
<asp:CheckBox ID="AllowEditLevel" runat="server" />
编辑/
<asp:CheckBox ID="AllowDeleteLevel" runat="server" />
删除</p>
  <p>&nbsp;</p>
  <p>
    <asp:CheckBox ID="AllowEditCutline" runat="server" />
    编辑在线图例</p>
  <p>&nbsp;</p>
  <p>
    <asp:CheckBox ID="AllowFixData" runat="server" />
    统计数据</p>
  <p>
    <asp:CheckBox ID="AllowMoveData" runat="server" />
    转移数据</p>
  <p>
    <asp:CheckBox ID="AllowExecuteSql" runat="server" />
    执行 sql</p>
  <p>
    <asp:CheckBox ID="AllowDeleteCache" runat="server" />  
    删除缓存</p>
  <p>&nbsp;</p></td>
</tr>
<tr class="forumtd">
<td align="center"><p>&nbsp;</p>
  <p>
    <asp:Button Text="  提 交  " CssClass="button" OnClick="Save" runat="server" />          
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <input type="button" onclick="history.back()" class="button" value="  返 回  " />
      </p></td>
</tr>
</table>
</div>
</form>